package cn.juque.jdfsystem.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>JdfConfig</li>
 * </ul>
 * @date 2023-01-09 10:29:08
 **/
@Component("jdfConfig")
public class JdfConfig {

    private Boolean initComplete;

    @Value("${jdf.node-name}")
    private String nodeName;

    @Value("${jdf.bind-ip}")
    private String bindIp;

    @Value("${jdf.user.hmac-secret}")
    private String hmacSecret;

    public Boolean getInitComplete() {
        return initComplete;
    }

    public void setInitComplete(Boolean initComplete) {
        this.initComplete = initComplete;
    }

    public String getNodeName() {
        return nodeName;
    }

    public String getBindIp() {
        return bindIp;
    }

    public String getHmacSecret() {
        return hmacSecret;
    }
}
